import styled from "styled-components";
import { primaryColor } from "../../static/config/color";
export const ScollListRow0ul = styled.div`
  padding: 20px;
  color: ${primaryColor};
  text-align: left;
  position:relative;
  .delBtn{
    position:absolute;
    right:.2rem;
    opacity:.7;
  }
  .listItem {
    min-height: 1rem;
    /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0.3rem;
    padding: 0.1rem;
    display: flex;
    &:last-child {
      margin-bottom: 0;
    }
    .imgBox {
      width: 1.6rem;
      height: 1.6rem;
      margin-right: 0.1rem;
      overflow: hidden;
      border-radius: 0.1rem;
    }
    .listContent {
      flex: 1;
      .title {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 25px;
        max-height: 50px;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        white-space: normal;
      }
      .details {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.5;
        color: #999;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 19px;
        max-height: 38px;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        white-space: normal;
      }
      .more {
        padding: 10px 0;
        font-size: 14px;
        color: #999;
      }
    }
  }
  .listItem1 {
    border: 1px solid #dedede;
    border-radius: 5px;
    display: flex;
    flex-direction: column-reverse;
    margin: 0 10px 10px;
    flex: 1;
    &:last-child {
      margin-bottom: 0;
    }
    .imgBox {
      width: 70%;
      margin: 10px;
      /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); */
    }
    .listContent {
      padding: 10px;
      line-height: 1.5;
    }
  }
`;
export const ScollListRowul = styled.div`
  padding: 20px;
  color: ${primaryColor};
  text-align: left;
  .listItem {
    min-height: 1rem;
    /* box-shadow: 0 0 3px rgba(0, 0, 0, 0.2); */
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 0.3rem;
    padding: 0.1rem;
    display: flex;
    &:last-child {
      margin-bottom: 0;
    }
    .imgBox {
      width: 1rem;
      height: 1rem;
      margin-right: 0.1rem;
      overflow: hidden;
      border-radius: 0.1rem;
    }
    .listContent {
      flex: 1;
      .title {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 25px;
        max-height: 50px;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        white-space: normal;
      }
      .details {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.5;
        color: #999;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 19px;
        max-height: 38px;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        white-space: normal;
      }
      .more {
        padding: 10px 0;
        font-size: 14px;
        color: #999;
      }
    }
  }
`;
export const HistoryCss = styled.div`
  text-align: left;
  padding: 20px;
  .delHis{
    text-align:center;
    font-size:12px;
    color:#999999;
    padding:10px;
  }
  .title {
    padding: 20px 15px;
    font-size: 18px;
    font-weight: bold;
  }
  .tag-container {
    display: flex;
    padding-top: 9px;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .tag-container > div {
    margin-left: 9px;
    margin-bottom: 9px;
  }
`;
export const NovelDetailsWrap = styled.div`
  .listItem {
    min-height: 1rem;
    margin-bottom: 0.3rem;
    padding: 0.1rem;
    display: flex;
    .imgBox {
      width: 1.2rem;
      max-height: 2rem;
      margin-right: 10px;
      overflow: hidden;
      border-radius: 0.1rem;
    }
    .listContent {
      flex: 1;
      .title {
        font-size: 18px;
        font-weight: 700;
        color: #333;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 25px;
        max-height: 50px;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        white-space: normal;
      }
      .details {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.5;
        color: #999;
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-height: 19px;
        max-height: 38px;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing: content-box;
        white-space: normal;
      }
    }
  }
  .btnWrap {
    padding: 0.1rem;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding-bottom: 0.3rem;
  }
  .stylesNumber {
    display: flex;
    justify-content: space-around;
    padding: 0.3rem;
    line-height: 1.5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    p {
      text-align: center;
      span {
        &:first-child {
          font-size: 15px;
          font-weight: bold;
          color: #666;
        }
      }
    }
  }
  .stylesTags {
    padding: 0.3rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
  }
  .stylesIntroduce {
    padding: 0.3rem;
    font-size: 12px;
    color: #999;
  }
`;
export const ReadpageWrap = styled.div`
overflow:scroll;
height:100vh;
  padding:${props => !props.showDom ? "" : " 60px 0"};
.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:50px;
  width:100%;
  background-color:${primaryColor};
  position:absolute;
  left:0;
  top:0;
  z-index:11;
  color:#fff;
  .jt{
    width:20px;
    height:20px;
    position: relative;
    &::after{
      content: " ";
    display: inline-block;
    height: 13px;
    width: 13px;
    border-width: 0 0 2px 2px ;
    border-color: #fff;
    border-style: solid;
    -webkit-transform: matrix(.71, .71, -0.71, .71, 0, 0);
    transform: matrix(.71, .71, -0.71, .71, 0, 0);
    position: absolute;
    right: 0;
    top: 4px;
    }
  }
}
.footer{
  display:flex;
  height:56px;
  width:100%;
  position:absolute;
  left:0;
  bottom:0;
  z-index:11;
  background-color:${primaryColor};
  .item{
    flex:1;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
  }
}`
export const SetShowWrap = styled.div`
  padding:20px;
  background:#fff;
  text-align:left;
  line-height:1.5;
  width:100%;
  .fontSize{
    display:flex;
    align-items:center;
    font-size:16px;
    padding-bottom:20px;
    .span{
      margin-right:15px;
    }
  }
  .bgwrap{
    display:flex;
    align-items:center;
    .bgitem{
      width:35px;
      height:35px;
      display:block;
      margin-right:15px;
      border-radius:20px;
    }
  }
`